package com.xzlcPT.service;

import com.util.PageBean;
import com.xzlcPT.bean.XzField;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/7/10.
 */

public interface XzFieldService {

    List<XzField> selectByType(int fieldType);

    void insertByName(List<XzField> xzFields);

    void deleteByName(String name);

    PageBean<XzField> selAllByEmp(int page,int row,XzField xzField);

    XzField selFieldById(Long fieldId);

    int updateField(XzField xzField);
}
